import pandas as pd


def read_excel_with_pandas(file_path, sheet_name=0):
    try:
        data = pd.read_excel(file_path, sheet_name=sheet_name)
        return data
    except FileNotFoundError:
        print(f"文件 {file_path} 未找到。")
        return None
    except Exception as e:
        print(f"读取Excel文件时发生错误: {e}")
        return None
file_path = 'F://15.xlsx'
result = read_excel_with_pandas(file_path)
if result is not None:
    print(result.head())